360e7d36eb1fa54a0bb94fbd25c4e12563c35134,community/src/main/java/org/neo4j/kernel/impl/traversal/ExpansionSourceImpl.java,ExpansionSourceImpl,ExpansionSourceImpl,#TraverserImpl#ExpansionSource#Node#RelationshipExpander#Relationship#,25

Before Change


        this.source = source;
        this.expander = expander;
        this.howIGotHere = toHere;
        if ( parent == null )
        {
            // We're at the start node
            depth = 0;
        }
        else
        {
            depth = parent.depth() + 1;
            expandRelationships( true );
        }
    }

After Change


        this.expander = expander;
        this.howIGotHere = toHere;
        this.depth = depth;
        expandRelationships( true );
    }
    
    /*